package com.example.appointment.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class DepartmentDTO {
    private Long id;

    @NotBlank(message = "科室名称不能为空")
    private String name;

    private String description;

    @NotNull(message = "科室状态不能为空")
    private Boolean status;
} 